package com.ruoyi.project.wework.apimodel;


import lombok.Data;

@Data
public class ParentModel {
    // {"errcode":0,"errmsg":"ok","xxx": xxx}
    private Integer errcode;
    private String errmsg;

    public boolean isSuccess() {
        return errcode.intValue() == 0;
    }
}
